import axios from 'axios'

export function request(url,canshu,chenggong,shibai){
    axios.post(url,canshu).then(res=>{
        chenggong(res.data)
    }).catch(err=>{
        shibai(err.data)
    })
}